import request from "./httpload.js"


export function loginWechat(data) {
  return request.post('/login/miniProgram', data)
}

export function loginPhone(data) {
  return request.post('/login/sms', data)
}

export function apiSendCode(phone) {
  return request.post("/sms", {
    phone: phone
  })
}

// 绑定微信
export function bindMiniApp(code){
  return request.post("/bindMiniApp",{code:code})
}